package fei.yuzhi.com.loveflowers.fragment.firstpagefragment.search;

import android.content.Context;
import android.database.sqlite.SQLiteDatabase;
import android.database.sqlite.SQLiteOpenHelper;

/**
 * Created by My on 2016/10/15.
 */
public class RecordSQLiteOpenHelper extends SQLiteOpenHelper {

    private static final String TABLE_NAME="search.db";
    private static final Integer VERSION=1;
    public RecordSQLiteOpenHelper(Context context){
        super(context,TABLE_NAME,null,VERSION);
    }

    @Override
    public void onCreate(SQLiteDatabase db) {
        db.execSQL("create table searching(id integer primary key autoincrement,name varchar(200))");
    }

    @Override
    public void onUpgrade(SQLiteDatabase db, int oldVersion, int newVersion) {

    }
}
